package com.blockmeta.bbs.businesslibrary.net.retrofit.api;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Query;

public interface InterfaceBBS {


    @GET("bbs")
    Call<String> getAuthor(@Query("tid") String tid,
                           @Query("uid") String uid,
                           @Header("sign") String sign,
                           @Header("time") String time);

    @GET("bbs/comments")
    Call<String> getComments(@Query("authorid") String authorid,
                             @Query("tid") String tid,
                             @Query("uid") String uid,
                             @Query("page") int page,
                             @Query("ordertype") int ordertype,
                             @Header("sign") String sign,
                             @Header("time") String time
    );
    @GET("bbs/comments")
    Call<String> getComments(@Query("authorid") String authorid,
                             @Query("tid") String tid,
                             @Query("uid") String uid,
                             @Query("page") int page,
                             @Query("ordertype") int ordertype,
                             @Query("stand")int stand,
                             @Header("sign") String sign,
                             @Header("time") String time
    );

}
